package o;

import com.huawei.appgallery.forum.message.msgsetting.launcher.request.GetLauncherMsgNumResponse;
import com.huawei.appgallery.foundation.account.bean.UserSession;
import o.brc.e;

public class bwb implements dgb {
    public void ˎ() {
        if (UserSession.getInstance().isLoginSuccessful()) {
            ((brc) fho.ˏ().ˋ("Base").ॱ(brc.class)).ˋ(new bwi(), new e<bwi, GetLauncherMsgNumResponse>(this) {
                final /* synthetic */ bwb ˎ;

                {
                    this.ˎ = r1;
                }

                public /* synthetic */ void ˋ(Object obj, Object obj2) {
                    ˎ((bwi) obj, (GetLauncherMsgNumResponse) obj2);
                }

                public /* synthetic */ void ˏ(Object obj, Object obj2) {
                    ॱ((bwi) obj, (GetLauncherMsgNumResponse) obj2);
                }

                public void ॱ(bwi o_bwi, GetLauncherMsgNumResponse getLauncherMsgNumResponse) {
                }

                public void ˎ(bwi o_bwi, GetLauncherMsgNumResponse getLauncherMsgNumResponse) {
                    if (getLauncherMsgNumResponse.getResponseCode() == 0 && getLauncherMsgNumResponse.getRtnCode_() == 0) {
                        bwd.ॱ(getLauncherMsgNumResponse.ˊ());
                    }
                }
            });
        }
    }
}
